package com.lq.schoolshop.service.impl;

import com.lq.schoolshop.dao.StoreMapper;
import com.lq.schoolshop.pojo.Store;
import com.lq.schoolshop.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author
 * @Date2021/1/7 11:23
 * @Version V1.0
 * 为什么努力？想把钱都赚够，一心跳广场舞曲去。
 **/
@Service
public class StoreServiceImpl implements StoreService {

    @Autowired
    private StoreMapper storeMapper;

    @Override
    public List<Store> selByAll() {
        return storeMapper.selByAll();
    }

    @Override
    public List<Store> selById(int id) {
        return storeMapper.selById(id);
    }


}
